import { useFunction } from "./utils";

const [link, linkWithText] = useFunction("/service/system/linux/");

export default [
  {
    text: "Linux 基础",
    items: [
      linkWithText(),
      linkWithText("install"),
      linkWithText("system"),
      linkWithText("user"),
      linkWithText("crontab"),
      linkWithText("directory-structure"),
      linkWithText("disk"),
      linkWithText("filesystem"),
      linkWithText("network"),
      linkWithText("samba"),
      linkWithText("software"),
      linkWithText("systemd"),
      linkWithText("vim"),
      linkWithText("yum"),
      linkWithText("shell/index"),
      linkWithText("ssh"),
    ],
  },
  {
    text: "Linux 进阶",
    items: [],
  },
];
